<template>
  <el-container>
    <el-header>
      <h1>五组的学生管理系统</h1>
    </el-header>
    <el-container>
      <el-aside width="200px">
        <MyNav></MyNav>
      </el-aside>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
  // import { container, aside, header, main } from 'element-ui'
  import MyNav from '../components/MyNav'
  export default {
    name: 'home',
    components: {
      MyNav
      // [container.name]: container,
      // [aside.name]: aside,
      // [header.name]: header,
      // [main.name]: main
    },
    data() {
      return {

      }
    }
  }
</script>

<style lang='less' scoped>
  .el-header {
    background-color: #b3c0d1;
    color: #333;
    height: 10vh;
    h1 {
      text-align: center;
      margin: 0;
      line-height: 60px;
    }
  }

  .el-aside {
    background-color: #d3dce6;
    color: #333;
    text-align: center;
    line-height: 200px;
    height: 90vh;
  }

  .el-main {
    background-color: #e9eef3;
    color: #333;
    text-align: center;
  }
</style>